#ifndef Gl_CUBE_TEXTURE
#define Gl_CUBE_TEXTURE
#include "GlTexture.h"
namespace gname
{
	class GlCubeTexture:public GLTexture
	{
	public:
         GlCubeTexture( int w, int h,TextureInternalFormat format, int mipLevels ,TexType  t = TTYPE_UNSIGNED_BYTE);
		 virtual  ~GlCubeTexture()
		 {
			 
		 }

		void BildTexture();
		bool Bind()   const;
	    bool Unbind() const; 
	private:
		
		TexTarget GetTextureTarget() const { return TT_TEXTURE_CUBE_MAP;}
	};

		
	
}

#endif